const Layout = () => import('@/layout/index.vue')
const user = () => import('@/views/limits/kywuser.vue')
const role =()=> import('@/views/limits/kywRole.vue')
const menu =()=> import('@/views/limits/kywMenu.vue')
const post =()=> import('@/views/limits/kywPost.vue')
const department =()=>import('@/views/limits/kywDepartment.vue')
export default [
  {
    path: '/limits',
    component: Layout,
    name: 'limits',
    meta: {
      title: '系统管理',
    },
    icon: 'Histogram',
    children: [
      {
        path: '/user',
        name: 'user',
        component: user,
        meta: {
          title: '用户管理',
        },
      },
      {
        path: '/department',
        name: 'department',
        component: department,
        meta: {
          title: '部门管理',
        },
      },
      {
        path: '/post',
        name: 'post',
        component: post,
        meta: {
          title: '岗位管理',
        },
      },
      {
        path: '/role',
        name: 'role',
        component: role,
        meta: {
          title: '角色管理',
        },
      },
      
      {
        path: '/menu',
        name: 'menu',
        component: menu,
        meta: {
          title: '菜单管理',
        },
      },
    ],
  },
]